package ManyAnimal;

public class Fish extends Animal implements Iswimming,Irunning {
    public Fish(String name) {
        super(name);
    }

    public void swimming() {
        System.out.println(this.name + "正在游泳");
    }

    public void run() {
        System.out.println(this.name + "正在奔跑");
    }
}
